package mock.dao;
import java.util.List;

import mock.dto.StockDTO;;

public interface StockDAO {
	
	/**
	 * 
	 * @param ATMID
	 * @return
	 */
	List<StockDTO> getStockByATMID(int ATMID);
	
	/**
	 * input: atmID
	 * update stock
	 */
	boolean updateStockByATMIDAndQuantityAndMoneyID(int ATMID, int moneyID ,int quantity);
	
	/**
	 * input: atmID, moneyID
	 * output: stockDTO
	 */
	StockDTO getStockByATMIDAndMoneyID(int atmID, int moneyID);

}
